import React from "react";
import "./Main.css";
import { TitleBar, RandomProcess } from "../../component/index";
import { mainMenu } from "../../lib/config";

/**
 * @description 主页面
 */
const Main = () => {
  return (
    <div>
      <TitleBar
        config={mainMenu}
        defaultOpenKey="sub1"
        defaultSelectedKey="1"
      />
      {<RandomProcess />}
    </div>
  );
};

export default Main;